<include file="Index/_meta" />
<!--图片预览-->
<link rel="stylesheet" href="__PUBLIC__/pictureViewer/css/pictureViewer.css">
<style>
    .layui-colla-title{
        height: 30px;
        line-height: 30px;
        font-size: 16px;
        background: rgba(22,131,238,0.7);
        color: #ffffff;
        border-radius: 10px;
        border:none;
    }
    .layui-colla-content{
        border: none;
    }
    .layui-collapse{
        border: none;
    }
    #tooltip{
        position:absolute;
        border:1px solid #ccc;
        /*background:#333;*/
        padding:2px;
        display:none;
        color:#fff;
    }
</style>
<body>
<div class="layui-fluid" style="margin-top: 20px">
    <div class="layui-collapse">
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">实有单位基本信息</h2>
            <div class="layui-colla-content layui-show">
                <div class="layui-row">
                    <div class="layui-row">
                        <div class="layui-col-md7">
                            <table class="layui-table" lay-even lay-skin="nob" lay-size="sm">
                                <tr>
                                    <th>单位编码:</th>
                                    <th>HJ 608-2017</th>
                                </tr>
                                <tr>
                                    <th>单位名称:</th>
                                    <th>新之声电子科技有限责任公司</th>
                                </tr>
                                <tr>
                                    <th>单位地址:</th>
                                    <th>朝阳区劲松街道254号</th>
                                </tr>
                                <tr>
                                    <th>法人姓名:</th>
                                    <th>赵六</th>
                                </tr>
                                <tr>
                                    <th>法人身份证号:</th>
                                    <th>13100014324416</th>
                                </tr>
                                <tr>
                                    <th>法人身份证照片:</th>
                                    <th><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_front.jpg" alt="">&nbsp;&nbsp;<img class="tooltip" src="__PUBLIC__/images/shenfenzheng_back.png" alt=""></th>
                                </tr>
                                <tr>
                                    <th>保卫负责人姓名:</th>
                                    <th>张广大</th>
                                </tr>
                                <tr>
                                    <th>保卫负责人身份证号:</th>
                                    <th>120064564984321</th>
                                </tr>
                                <tr>
                                    <th>重点单位标识:</th>
                                    <th><img width="20" src="__PUBLIC__/images/qizhi.png" alt=""></th>
                                </tr>
                                <tr>
                                    <th>建筑层数:</th>
                                    <th>13层</th>
                                </tr>
                                <tr>
                                    <th>建筑高度:</th>
                                    <th>45m</th>
                                </tr>
                                <tr>
                                    <th>保安人数:</th>
                                    <th>20</th>
                                </tr>
                                <tr>
                                    <th>专职保安人数:</th>
                                    <th>12</th>
                                </tr>
                            </table>
                        </div>
                        <div class="layui-col-md5">
                            <div class="image-list">
                                <div class="cover"><img src="__PUBLIC__/images/gongsi1.jpg" alt=""></div>
                                <div class="cover"><img src="__PUBLIC__/images/gongsi2.jpg" alt=""></div>
                                <div class="cover"><img src="__PUBLIC__/images/gongsi3.jpg" alt=""></div>
                                <div class="cover"><img src="__PUBLIC__/images/gongsi4.jpg" alt=""></div>
                                <div class="cover"><img src="__PUBLIC__/images/gongsi5.jpg" alt=""></div>
                                <div class="cover"><img src="__PUBLIC__/images/timg.jpg" alt=""></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-colla-item">
            <h2 class="layui-colla-title">单位员工信息</h2>
            <div class="layui-colla-content layui-show">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th>员工姓名</th>
                        <th>身份证号码</th>
                        <th>性别</th>
                        <th>电话</th>
                        <th>身份证正面照</th>
                        <th>身份证反面照片</th>
                        <th>身份证地址</th>
                        <th>现住地址</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>张三</td>
                        <td>123727199523454563</td>
                        <td>男</td>

                        <td>15765849856</td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_front.jpg" alt=""></td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_back.png" alt=""></td>           <td>北京市怀柔</td>
                        <td>北京市朝阳区</td>
                    </tr>
                    <tr>
                        <td>张三</td>
                        <td>123727199523454563</td>
                        <td>男</td>

                        <td>15765849856</td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_front.jpg" alt=""></td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_back.png" alt=""></td>           <td>北京市怀柔</td>
                        <td>北京市朝阳区</td>
                    </tr>
                    <tr>
                        <td>张三</td>
                        <td>123727199523454563</td>
                        <td>男</td>

                        <td>15765849856</td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_front.jpg" alt=""></td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_back.png" alt=""></td>           <td>北京市怀柔</td>
                        <td>北京市朝阳区</td>
                    </tr>
                    <tr>
                        <td>张三</td>
                        <td>123727199523454563</td>
                        <td>男</td>

                        <td>15765849856</td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_front.jpg" alt=""></td>
                        <td><img class="tooltip" src="__PUBLIC__/images/shenfenzheng_back.png" alt=""></td>           <td>北京市怀柔</td>
                        <td>北京市朝阳区</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <div class="layui-colla-item" style="margin-bottom: 150px">
            <!--<h2 class="layui-colla-title">车辆违反交通法规记录</h2>-->
            <!--<div class="layui-colla-content layui-show">无</div>-->
        </div>
    </div>
</div>
</body>
</html>
<script src="__PUBLIC__/pictureViewer/js/jquery.mousewheel.min.js"></script>
<script src="__PUBLIC__/pictureViewer/js/pictureViewer.js"></script>
<script type="text/javascript">
    $(function(){
        var x = 10;
        var y = 20;
        $(".tooltip").mouseover(function(e){
            var tooltip = "<div id='tooltip'><img height='200px' src='"+ this.src +"' alt='产品预览图'/><\/div>"; //创建 div 元素
            $("body").append(tooltip);	//把它追加到文档中
            $("#tooltip")
                .css({
                    "top": (e.pageY+y) + "px",
                    "left":  (e.pageX+x)  + "px"
                }).show("fast");	  //设置x坐标和y坐标，并且显示
        }).mouseout(function(){
            $("#tooltip").remove();	 //移除
        }).mousemove(function(e){
            $("#tooltip")
                .css({
                    "top": (e.pageY+y) + "px",
                    "left":  (e.pageX+x)  + "px"
                });
        });
    })

    $(function () {
        $('.image-list').on('click', '.cover', function () {
            var this_ = $(this);
            var images = this_.parents('.image-list').find('.cover');
            var imagesArr = new Array();
            $.each(images, function (i, image) {
                imagesArr.push($(image).children('img').attr('src'));
            });
            $.pictureViewer({
                images: imagesArr, //需要查看的图片，数据类型为数组
                initImageIndex: this_.index() + 1, //初始查看第几张图片，默认1
                scrollSwitch: true //是否使用鼠标滚轮切换图片，默认false
            });
        });
    });


</script>